package com.hpli.infrastructure.persistent.po;

import java.util.Date;

/**
 * Table: rule_tree
 */
public class RuleTree {
    /**
     * Column: id
     * Type: BIGINT UNSIGNED
     * Remark: 自增ID
     */
    private Long id;

    /**
     * Column: tree_id
     * Type: VARCHAR(32)
     * Remark: 规则树ID
     */
    private String treeId;

    /**
     * Column: tree_name
     * Type: VARCHAR(64)
     * Remark: 规则树名称
     */
    private String treeName;

    /**
     * Column: tree_desc
     * Type: VARCHAR(128)
     * Remark: 规则树描述
     */
    private String treeDesc;

    /**
     * Column: tree_node_rule_key
     * Type: VARCHAR(32)
     * Remark: 规则树根入口规则
     */
    private String treeNodeRuleKey;

    /**
     * Column: create_time
     * Type: DATETIME
     * Default value: CURRENT_TIMESTAMP
     * Remark: 创建时间
     */
    private Date createTime;

    /**
     * Column: update_time
     * Type: DATETIME
     * Default value: CURRENT_TIMESTAMP
     * Remark: 更新时间
     */
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTreeId() {
        return treeId;
    }

    public void setTreeId(String treeId) {
        this.treeId = treeId == null ? null : treeId.trim();
    }

    public String getTreeName() {
        return treeName;
    }

    public void setTreeName(String treeName) {
        this.treeName = treeName == null ? null : treeName.trim();
    }

    public String getTreeDesc() {
        return treeDesc;
    }

    public void setTreeDesc(String treeDesc) {
        this.treeDesc = treeDesc == null ? null : treeDesc.trim();
    }

    public String getTreeNodeRuleKey() {
        return treeNodeRuleKey;
    }

    public void setTreeNodeRuleKey(String treeNodeRuleKey) {
        this.treeNodeRuleKey = treeNodeRuleKey == null ? null : treeNodeRuleKey.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}